import React, { memo } from "react";
import { getCount } from "../../../../api/utils";
const PlayALl = ({ len, count }) => {
  return (
    <div className="first_line">
      <div className="play_all">
        <i className="iconfont">&#xe6e3;</i>
        <span>
          播放全部 <span className="sum">(共 {len} 首)</span>
        </span>
      </div>
      <div className="add_list">
        <i className="iconfont">&#xe62d;</i>
        <span> 收藏 ({getCount(count)})</span>
      </div>
    </div>
  );
};
export default memo(PlayALl);
